<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>财务已收款分栋分项汇总表</title>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/tabs.jsp"%>
<%@ include file="/commons/validation.jsp"%>
<%@ include file="/commons/dateTime.jsp" %>
<script type="text/javascript">
		function showReport(){
       	var isPass=$('report').fireEvent("onSubmit");
		if(isPass){
			$('report').submit();
		}
	}
</script>
<style type="text/css">
.onclickbg {
	background-color: #FEEC8C;
}

.offclickbg {
	background-color: #ffffff;
}

body {
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
</style>
</head>
<body scroll="no">
<div class="container">
<form id="report" target="_blank" name="report" action="${ctx}/applets/appletShow.jsp" class="required-validate">
<input type="hidden" id="reportName" name="reportName" value="alrBuildAndItemReport">

<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td class="bg_search"></td>
	</tr>
	<tr>
		<td valign="top">
		<table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" class="aux_intable_color" id="lp">

			<tr>
				<td class="aux_intable_td41">管理区域：</td>
				<td class="aux_intable_td42" colspan="3">
					<pms:unitedSelect
	     		id="precinct"
	     		name="precinct"
	     		optionLabel="name"
	     		optionValue="keyword"
	     		dataList="${precinct}"
	     		selectText="${key.pleaseSelect}"
	     		className="select-one-required"
	     		>
	     	</pms:unitedSelect>
				</td>

			</tr>
			<tr>
				<td class="aux_intable_td41">${key.subentry }：</td>
				<td class="aux_intable_td42" colspan="3"><select id="subentry" name="subentry" class="select-one-required">
					<option>${key.pleaseSelect }</option>
					<option value="3">${key.thisAndBeforeCharge }</option>
					<option value="1">${key.thisCharge }</option>
					<option value="2">${key.BeforeCharge }</option>

				</select></td>

			</tr>
			<tr>
				<td class="aux_intable_td41">${key.computeMonth }：</td>
				<td class="aux_intable_td42" colspan="3">
				<table border="0" cellspacing="0" cellpadding="0">
					<tr>

						<td><input name="computeMonth" id="computeMonth" type="text" class="required validate-date-yyyy-MM" afterInsert="DateSpan" value="" size="16" /></td>
						<td width="4">&nbsp;</td>
						<td width="45"><img src="${ctx}/images/ico_clock_month.gif" id="dateImg" width="20" height="20" border="0" /><span id="DateSpan"></span></td>

					</tr>
				</table>
				<!------此件组件可单独选择到月份-----------></td>

			</tr>



		</table>
	<tr>
		<td class="window_footer">
		<table border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td>
				<table border="0" cellpadding="0" cellspacing="0" style="display: none">
					<tr>
						<td class="buttonOffLeft" id="btn1_21"></td>
						<td class="buttonOffMiddle" id="btn1_22" onblur="btn_change(2)" onMouseOver="btn_change_over(2)" onMouseOut="btn_change_out(2)" onClick="closewin();"><img src="../../images/ico_ok.gif" border="0" align="absmiddle" />保存</td>
						<td class="buttonOffRight" id="btn1_23"></td>
					</tr>
				</table>
				</td>
				<td class="btn_between_space"></td>
				<td>
				<table border="0" cellpadding="0" cellspacing="0" onClick="closewin();">
					<tr>
						<td class="buttonOffLeft" id="btn1_31"></td>
						<td onclick="showReport()"  class="buttonOffMiddle" id="btn1_32" onblur="btn_change(3)" onMouseOver="btn_change_over(3)" onMouseOut="btn_change_out(3)"><img src="${ctx}/images/ico_lookup.gif" border="0" align="absmiddle" />${key.preview }</td>
						<td class="buttonOffRight" id="btn1_33"></td>
					</tr>
				</table>
				</td>
			</tr>
		</table>
		</td>
	</tr>

</table>
</form>
</div>
 <script type="text/javascript">
             Calendar.setup(
              {
	              inputField : "computeMonth", // ID of the input field
	              ifFormat : "%Y-%m", // the date format
	              button : "dateImg", // ID of the button
	             // align          :    "Tl",           // alignment (defaults to "Bl")
			      singleClick    :    true
              }
              );
             </script>
</body>
</html>
